<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/jsp/common/head.jsp"%>
        <div class="right">
            <div class="location">
                <strong>你现在所在的位置是:</strong>
                <span>用户管理页面</span>
            </div>
            <div class="search">
            <a href="${pageContext.request.contextPath}/role/roleadd.jsp" >添加角色</a>
            </div>
            <!--用户-->
            <table class="providerTable" cellpadding="0" cellspacing="0">
                <tr class="firstTr">
                    <th width="10%">角色编码</th>
                    <th width="20%">角色名称</th>
                    <th width="30%">操作</th>
                </tr>
                   <c:forEach var="role" items="${roleList }" varStatus="status">
					<tr>
						<td>
						<span>${role.roleCode }</span>
						</td>
						<td>
						<span>${role.roleName }</span>
						</td>
						<td>
						    <a href="">修改</a>
						    <a href="">删除</a>
							<a href="${pageContext.request.contextPath}/role/permis?id=${role.id}">授权</a>
						</td>
					</tr>
				</c:forEach>
			</table>
        </div>
    </section>

<%@include file="/jsp/common/foot.jsp" %>
